<template>
	<view>
		<view class="">
			<view class="m-h1" style="text-align: center;">
				订单跟踪
			</view>
			<view class="" @tap="toBack()">
				<image class="nav-margin-back-img" src="../../static/back.png" mode="widthFix"></image>
			</view>
		</view>	
		
		<view class="nav-margin-top m-margin-bottom a2-red-box">
				<view class="" style="display: flex;position: relative;left: 20rpx;top: 20rpx;">
					<image style="width: 30rpx;height: 30rpx;padding-right: 20rpx;" src="../../static/warn.png" mode="widthFix"></image>
					<text class="a2-red">当前订单共有2个关联子订单发货</text>
				</view>		
		</view>
		
		<view class="content m-margin-bottom">
			<view class="" style="padding-bottom: 20rpx;">
				<view class="a2-border m-margin-bottom" style="display: flex; justify-content: space-between;padding-bottom: 20rpx;">
					<view class="" style="display: flex;">
						<image style="width: 30rpx;height: 34rpx;padding-right: 10rpx;position: relative;top:6rpx" src="../../static/order-1.png" mode="widthFix"></image>
						<view class="a2-list-font">
							子订单1
						</view>
					</view>
					<view class="a2-red">
						等待收货
					</view>
				</view>
				
				<view class="a2-border m-margin-bottom" style="padding-bottom: 20rpx;">
					<view class="m-margin-bottom">
						<text class="a2-list-font2" style="margin-right: 20rpx;">最新环节：</text>
						<text class="a2-list-font3">运输中</text>
					</view>
					
					<view class="m-margin-bottom">
						<text class="a2-list-font2" style="margin-right: 20rpx;">最新进度：</text>
						<text class="a2-list-font3">已装车运出</text>
					</view>
					
					<view class="">
						<text class="a2-list-font2" style="margin-right: 20rpx;">更新时间：</text>
						<text class="a2-list-font3">2021-01-24 12:00:00</text>
					</view>
				</view>
				
				<view @tap="toAddr3()" class="" style="display: flex;justify-content: space-between;">
					<view class="a2-list-font4">
						查看详情
					</view>
					<view class="">
						<image style="width: 28rpx;height: 28rpx;" src="../../static/next.png" mode="widthFix"></image>
					</view>
				</view>
			</view>
		</view>
		
		<view class="a2-border2">
			
		</view>
		
		<view class="content">
			<view class="" style="padding-bottom: 20rpx;">
				<view class="a2-border m-margin-bottom" style="display: flex; justify-content: space-between;padding-bottom: 20rpx;">
					<view class="" style="display: flex;">
						<image style="width: 30rpx;height: 34rpx;padding-right: 10rpx;position: relative;top:6rpx" src="../../static/order-1.png" mode="widthFix"></image>
						<view class="a2-list-font">
							子订单1
						</view>
					</view>
					<view class="a2-red">
						等待收货
					</view>
				</view>
				
				<view class="a2-border m-margin-bottom" style="padding-bottom: 20rpx;">
					<view class="m-margin-bottom">
						<text class="a2-list-font2" style="margin-right: 20rpx;">最新环节：</text>
						<text class="a2-list-font3">运输中</text>
					</view>
					
					<view class="m-margin-bottom">
						<text class="a2-list-font2" style="margin-right: 20rpx;">最新进度：</text>
						<text class="a2-list-font3">已装车运出</text>
					</view>
					
					<view class="">
						<text class="a2-list-font2" style="margin-right: 20rpx;">更新时间：</text>
						<text class="a2-list-font3">2021-01-24 12:00:00</text>
					</view>
				</view>
				
				<view @tap="toAddr3()" class="" style="display: flex;justify-content: space-between;">
					<view class="a2-list-font4">
						查看详情
					</view>
					<view class="">
						<image style="width: 28rpx;height: 28rpx;" src="../../static/next.png" mode="widthFix"></image>
					</view>
				</view>
			</view>
		</view>
		
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			toBack:function(){
				console.log(1)
				uni.navigateBack({
					delta: 1 //返回上一级页面
				})
			},
			toAddr3:function(){
				uni.navigateTo({
					url:'../addr-3/addr-3'
				})
			}
		}
	}
</script>

<style lang="less" scoped>
@import url('../../style.less');
@import url('addr-2.less');
</style>
